package checkers.common.logic.commands;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "JoinGameRequest")
public class JoinGameRequest extends Command {
	
	@XmlElement(required = true)
    private int gameID;
	@XmlElement(required = true)
    private int playerID;
    
	public JoinGameRequest() {
		id = 10;
	}
	
    public int getGameID() {
        return this.gameID;
    }
    
    public void setGameID(int gameID) {
        this.gameID = gameID;
    }
    
    public int getPlayerID() {
        return this.playerID;
    }
    
    public void setPlayerID(int playerID) {
        this.playerID = playerID;
    }
}
